<small class="text-danger" ng-message="required">该字段不能为空。</small>
<small class="text-danger" ng-message="minlength">该字段长度不能小于2</small>
<small class="text-danger" ng-message="maxlength">该字段长度不能大于20</small>